@echo on
set time=%date:~0,4%%date:~5,2%%date:~8,2%%time:~0,2%%time:~3,2%%time:~6,2%
set extend_name=%txt%
set log_file_name=%time%.txt
python main.py>>%log_file_name%
pause
